package com.cn.wanxi.controller;

import com.cn.wanxi.annotaion.Autowired;
import com.cn.wanxi.annotaion.Controller;
import com.cn.wanxi.annotaion.RequestMapping;
import com.cn.wanxi.service.UserService;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@Controller("aa")
public class UserController {
    @Autowired
    private UserService userService;

    @RequestMapping("bb")
    public void aa(HttpServletResponse response) throws IOException {
        userService.aa();
        response.getWriter().println("1");
    }
}
